import React from 'react'

const Home = React.lazy(() => import('../views/home'))
const Login = React.lazy(() => import('../views/login'))
const MainLayout = React.lazy(() => import('../views/mainLayout'))
const Search = React.lazy(() => import('../views/search'))
const Sign = React.lazy(() => import('../views/sign'))
const Tags = React.lazy(() => import('../views/tags'))
const User = React.lazy(() => import('../views/user'))


export const routes_list = [{
  path: '/',
  element: <MainLayout></MainLayout>,
  children: [{
    path: '/',
    element:<Home></Home>
  },{
    path: '/user',
    element:<User></User>
  }]
},{
  path: '/login',
  element:<Login></Login>
},{
  path: '/search',
  element:<Search></Search>
},{
  path: '/sign',
  element:<Sign></Sign>
},{
  path: '/tags',
  element:<Tags></Tags>
}]



